<%= render :partial => "header" %>

<h2>现有创作方式列表</h2>
<ul>
  <% for create_type in @create_types %>
    <li> <%= create_type.title %>: <%= create_type.about %> <%= link_to "＊", :action => "edit_create_type", :id => create_type %>/<%= link_to "－", {:action => "destroy_create_type", :id => create_type}, :confirm => '您确信要删除该创作方式吗？', :method => :post %></li>
  <% end %> 
</ul>

<h2>添加创作方式</h2>

<%= start_form_tag :action => "add_create_type" %>
  <%= render :partial => "crtform" %>
  <%= submit_tag "添加创作方式" %>
<%= end_form_tag %>
